package com.homedo.odin.solution.contract.mng;/**
 * Created by liyi on 2018/5/25.
 */

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author : liyi
 * @program : odin_sol
 * @description : 品牌主修改请求
 * @create: 2018-05-25 10-59
 **/
@ApiModel(description = "品牌主修改请求")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class BrandOwnEditReq extends BaseRequest {

    @ApiModelProperty(value = "品牌ID", required = true)
    @NotNull(message = "品牌ID不能为空")
    @Min(message = "品牌ID非法", value = 0)
    private Integer brandId;

    @ApiModelProperty(value = "sort排序Uid", required = true)
    @NotNull(message = "sort排序UID不能为空")
    @Min(value = 0, message = "sort排序Uid异常")
    private Integer sort;

    @ApiModelProperty(value = "修改人UID", required = true)
    @NotNull(message = "修改人UID不能为空")
    @Min(value = 0, message = "修改人UID异常")
    private Long modifiedBy;

    @ApiModelProperty(value = "操作人", required = true)
    @NotNull(message = "操作人不能为空")
    private String operator;

}
